package com.etc.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.etc.dao.DoctorloginMapper;
import com.etc.entity.Doctorlogin;
import com.etc.service.DoctorloginService;
/**
 * 医生service实现类
 * @author Administrator
 *
 */
@Service(value="doctorloginService")
public class DoctorloginServiceImpl implements DoctorloginService {
	@Autowired
	private DoctorloginMapper doctorloginMapper;
	 /**
     * 医生登录
     * @param doctologinid  医生账号
     * @param doctorPwd     医生密码
     * @return
     */
	@Override
	public Doctorlogin selectByPrimaryKey(Integer doctologinid, String doctorpwd) {
		// TODO Auto-generated method stub
		return doctorloginMapper.selectByPrimaryKey(doctologinid, doctorpwd);
	}

}
